export const isEmpty = (payload:any):boolean => {
    const str = payload instanceof Array || payload instanceof Object ? JSON.stringify(payload) : String(payload);
    const currArr=["", "0", "[]", "{}", 'null', 'undefined', 'defined', "NaN"];
    return currArr.some(item => item === str);
}
